Optimal. Leaf size=564 \[ -\frac {4}{35} (7 i-4 x) \left (4-27 x^2\right )^{2/3}-\frac {1}{30} i (2+3 i x)^2 \left (4-27 x^2\right )^{2/3}-\frac {96 x}{7 \left (2^{2/3} \left (1-\sqrt {3}\right )-\sqrt [3]{4-27 x^2}\right )}-\frac {16 \sqrt [3]{2} \sqrt {2+\sqrt {3}} \left (2^{2/3}-\sqrt [3]{4-27 x^2}\right ) \sqrt {\frac {2 \sqrt [3]{2}+2^{2/3} \sqrt [3]{4-27 x^2}+\left (4-27 x^2\right )^{2/3}}{\left (2^{2/3} \left (1-\sqrt {3}\right )-\sqrt [3]{4-27 x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac {2^{2/3} \left (1+\sqrt {3}\right )-\sqrt [3]{4-27 x^2}}{2^{2/3} \left (1-\sqrt {3}\right )-\sqrt [3]{4-27 x^2}}\right )|-7+4 \sqrt {3}\right )}{21\ 3^{3/4} x \sqrt {-\frac {2^{2/3}-\sqrt [3]{4-27 x^2}}{\left (2^{2/3} \left (1-\sqrt {3}\right )-\sqrt [3]{4-27 x^2}\right )^2}}}+\frac {32\ 2^{5/6} \left (2^{2/3}-\sqrt [3]{4-27 x^2}\right ) \sqrt {\frac {2 \sqrt [3]{2}+2^{2/3} \sqrt [3]{4-27 x^2}+\left (4-27 x^2\right )^{2/3}}{\left (2^{2/3} \left (1-\sqrt {3}\right )-\sqrt [3]{4-27 x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac {2^{2/3} \left (1+\sqrt {3}\right )-\sqrt [3]{4-27 x^2}}{2^{2/3} \left (1-\sqrt {3}\right )-\sqrt [3]{4-27 x^2}}\right )|-7+4 \sqrt {3}\right )}{63 \sqrt [4]{3} x \sqrt {-\frac {2^{2/3}-\sqrt [3]{4-27 x^2}}{\left (2^{2/3} \left (1-\sqrt {3}\right )-\sqrt [3]{4-27 x^2}\right )^2}}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.26, antiderivative size = 564, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {757, 794, 241,
310, 225, 1893} \begin {gather*} \frac {32\ 2^{5/6} \left (2^{2/3}-\sqrt [3]{4-27 x^2}\right ) \sqrt {\frac {\left (4-27 x^2\right )^{2/3}+2^{2/3} \sqrt [3]{4-27 x^2}+2 \sqrt [3]{2}}{\left (2^{2/3} \left (1-\sqrt {3}\right )-\sqrt [3]{4-27 x^2}\right )^2}} F\left (\text {ArcSin}\left (\frac {2^{2/3} \left (1+\sqrt {3}\right )-\sqrt [3]{4-27 x^2}}{2^{2/3} \left (1-\sqrt {3}\right )-\sqrt [3]{4-27 x^2}}\right )|-7+4 \sqrt {3}\right )}{63 \sqrt [4]{3} x \sqrt {-\frac {2^{2/3}-\sqrt [3]{4-27 x^2}}{\left (2^{2/3} \left (1-\sqrt {3}\right )-\sqrt [3]{4-27 x^2}\right )^2}}}-\frac {16 \sqrt [3]{2} \sqrt {2+\sqrt {3}} \left (2^{2/3}-\sqrt [3]{4-27 x^2}\right ) \sqrt {\frac {\left (4-27 x^2\right )^{2/3}+2^{2/3} \sqrt [3]{4-27 x^2}+2 \sqrt [3]{2}}{\left (2^{2/3} \left (1-\sqrt {3}\right )-\sqrt [3]{4-27 x^2}\right )^2}} E\left (\text {ArcSin}\left (\frac {2^{2/3} \left (1+\sqrt {3}\right )-\sqrt [3]{4-27 x^2}}{2^{2/3} \left (1-\sqrt {3}\right )-\sqrt [3]{4-27 x^2}}\right )|-7+4 \sqrt {3}\right )}{21\ 3^{3/4} x \sqrt {-\frac {2^{2/3}-\sqrt [3]{4-27 x^2}}{\left (2^{2/3} \left (1-\sqrt {3}\right )-\sqrt [3]{4-27 x^2}\right )^2}}}-\frac {1}{30} i \left (4-27 x^2\right )^{2/3} (2+3 i x)^2-\frac {4}{35} (-4 x+7 i) \left (4-27 x^2\right )^{2/3}-\frac {96 x}{7 \left (2^{2/3} \left (1-\sqrt {3}\right )-\sqrt [3]{4-27 x^2}\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 225
Rule 241
Rule 310
Rule 757
Rule 794
Rule 1893
Rubi steps
\begin {align*} \int \frac {(2+3 i x)^3}{\sqrt [3]{4-27 x^2}} \, dx &=-\frac {1}{30} i (2+3 i x)^2 \left (4-27 x^2\right )^{2/3}-\frac {1}{90} \int \frac {(2+3 i x) (-288-864 i x)}{\sqrt [3]{4-27 x^2}} \, dx\\ &=-\frac {4}{35} (7 i-4 x) \left (4-27 x^2\right )^{2/3}-\frac {1}{30} i (2+3 i x)^2 \left (4-27 x^2\right )^{2/3}+\frac {32}{7} \int \frac {1}{\sqrt [3]{4-27 x^2}} \, dx\\ &=-\frac {4}{35} (7 i-4 x) \left (4-27 x^2\right )^{2/3}-\frac {1}{30} i (2+3 i x)^2 \left (4-27 x^2\right )^{2/3}-\frac {\left (16 \sqrt {-x^2}\right ) \text {Subst}\left (\int \frac {x}{\sqrt {-4+x^3}} \, dx,x,\sqrt [3]{4-27 x^2}\right )}{7 \sqrt {3} x}\\ &=-\frac {4}{35} (7 i-4 x) \left (4-27 x^2\right )^{2/3}-\frac {1}{30} i (2+3 i x)^2 \left (4-27 x^2\right )^{2/3}+\frac {\left (16 \sqrt {-x^2}\right ) \text {Subst}\left (\int \frac {2^{2/3} \left (1+\sqrt {3}\right )-x}{\sqrt {-4+x^3}} \, dx,x,\sqrt [3]{4-27 x^2}\right )}{7 \sqrt {3} x}-\frac {\left (32 \sqrt [6]{2} \sqrt {-x^2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-4+x^3}} \, dx,x,\sqrt [3]{4-27 x^2}\right )}{7 \sqrt {3 \left (2-\sqrt {3}\right )} x}\\ &=-\frac {4}{35} (7 i-4 x) \left (4-27 x^2\right )^{2/3}-\frac {1}{30} i (2+3 i x)^2 \left (4-27 x^2\right )^{2/3}-\frac {96 x}{7 \left (2^{2/3} \left (1-\sqrt {3}\right )-\sqrt [3]{4-27 x^2}\right )}-\frac {16 \sqrt [3]{2} \sqrt {2+\sqrt {3}} \left (2^{2/3}-\sqrt [3]{4-27 x^2}\right ) \sqrt {\frac {2 \sqrt [3]{2}+2^{2/3} \sqrt [3]{4-27 x^2}+\left (4-27 x^2\right )^{2/3}}{\left (2^{2/3} \left (1-\sqrt {3}\right )-\sqrt [3]{4-27 x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac {2^{2/3} \left (1+\sqrt {3}\right )-\sqrt [3]{4-27 x^2}}{2^{2/3} \left (1-\sqrt {3}\right )-\sqrt [3]{4-27 x^2}}\right )|-7+4 \sqrt {3}\right )}{21\ 3^{3/4} x \sqrt {-\frac {2^{2/3}-\sqrt [3]{4-27 x^2}}{\left (2^{2/3} \left (1-\sqrt {3}\right )-\sqrt [3]{4-27 x^2}\right )^2}}}+\frac {32\ 2^{5/6} \left (2^{2/3}-\sqrt [3]{4-27 x^2}\right ) \sqrt {\frac {2 \sqrt [3]{2}+2^{2/3} \sqrt [3]{4-27 x^2}+\left (4-27 x^2\right )^{2/3}}{\left (2^{2/3} \left (1-\sqrt {3}\right )-\sqrt [3]{4-27 x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac {2^{2/3} \left (1+\sqrt {3}\right )-\sqrt [3]{4-27 x^2}}{2^{2/3} \left (1-\sqrt {3}\right )-\sqrt [3]{4-27 x^2}}\right )|-7+4 \sqrt {3}\right )}{63 \sqrt [4]{3} x \sqrt {-\frac {2^{2/3}-\sqrt [3]{4-27 x^2}}{\left (2^{2/3} \left (1-\sqrt {3}\right )-\sqrt [3]{4-27 x^2}\right )^2}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in
optimal.
time = 10.04, size = 60, normalized size = 0.11 \begin {gather*} \left (4-27 x^2\right )^{2/3} \left (-\frac {14 i}{15}+\frac {6 x}{7}+\frac {3 i x^2}{10}\right )+\frac {16}{7} \sqrt [3]{2} x \, _2F_1\left (\frac {1}{3},\frac {1}{2};\frac {3}{2};\frac {27 x^2}{4}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 5 vs. order
4.
time = 0.54, size = 49, normalized size = 0.09
method | result | size |
risch | \(-\frac {i \left (63 x^{2}-180 i x -196\right ) \left (27 x^{2}-4\right )}{210 \left (-27 x^{2}+4\right )^{\frac {1}{3}}}+\frac {16 \,2^{\frac {1}{3}} x \hypergeom \left (\left [\frac {1}{3}, \frac {1}{2}\right ], \left [\frac {3}{2}\right ], \frac {27 x^{2}}{4}\right )}{7}\) | \(49\) |
meijerg | \(4 \,2^{\frac {1}{3}} x \hypergeom \left (\left [\frac {1}{3}, \frac {1}{2}\right ], \left [\frac {3}{2}\right ], \frac {27 x^{2}}{4}\right )+9 i 2^{\frac {1}{3}} x^{2} \hypergeom \left (\left [\frac {1}{3}, 1\right ], \left [2\right ], \frac {27 x^{2}}{4}\right )-9 \,2^{\frac {1}{3}} x^{3} \hypergeom \left (\left [\frac {1}{3}, \frac {3}{2}\right ], \left [\frac {5}{2}\right ], \frac {27 x^{2}}{4}\right )-\frac {27 i 2^{\frac {1}{3}} x^{4} \hypergeom \left (\left [\frac {1}{3}, 2\right ], \left [3\right ], \frac {27 x^{2}}{4}\right )}{8}\) | \(78\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 3.37, size = 148, normalized size = 0.26 \begin {gather*} - 9 \cdot \sqrt [3]{2} x^{3} {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{3}, \frac {3}{2} \\ \frac {5}{2} \end {matrix}\middle | {\frac {27 x^{2} e^{2 i \pi }}{4}} \right )} + 4 \cdot \sqrt [3]{2} x {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{3}, \frac {1}{2} \\ \frac {3}{2} \end {matrix}\middle | {\frac {27 x^{2} e^{2 i \pi }}{4}} \right )} - i \left (4 - 27 x^{2}\right )^{\frac {2}{3}} - 27 i \left (\begin {cases} \frac {x^{2} \left (27 x^{2} - 4\right )^{\frac {2}{3}} e^{- \frac {i \pi }{3}}}{90} + \frac {\left (27 x^{2} - 4\right )^{\frac {2}{3}} e^{- \frac {i \pi }{3}}}{405} & \text {for}\: \left |{x^{2}}\right | > \frac {4}{27} \\- \frac {x^{2} \left (4 - 27 x^{2}\right )^{\frac {2}{3}}}{90} - \frac {\left (4 - 27 x^{2}\right )^{\frac {2}{3}}}{405} & \text {otherwise} \end {cases}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (2+x\,3{}\mathrm {i}\right )}^3}{{\left (4-27\,x^2\right )}^{1/3}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________